Skip to main content
Version: 5.2.0.0

Overwriting Environment Entries

Concept

The interface DynamicEnvironmentEntryBuilder is implemented as a fluent interface which allows adjusting the settings of an environment entry. The following section describes the existing methods

The interface DynamicEnvironmentEntryBuilder

/**
* Returns a reference of the underlying element
*/
public Reference<? extends EnvironmentEntry> getReference();

/**
* Overwrites the property by string value.
* @param technicalId the technicalId of property
* @param value the new value
*/
public DynamicEnvironmentEntryBuilder overwrite(String technicalId, String value);

/**
* Overwrites the property by integer value.
* @param technicalId the technicalId of property
* @param value the new value
*/
public DynamicEnvironmentEntryBuilder overwrite(String technicalId, int value);

/**
* Overwrites the property by boolean value.
* @param technicalId the technicalId of property
* @param value the new value
*/
public DynamicEnvironmentEntryBuilder overwrite(String technicalId, boolean value);

/**
* Create new environment entry instance.
* @return new environment entry instance with the new values
* @throws EpiBaseException
*/
public EnvironmentEntry build() throws EpiBaseException;

/**
* Update the underlying environment entry
*/
public void apply() throws EpiBaseException;